package com.example.booktest.service;

import com.example.booktest.entity.CatalogEntity;
import io.reactivex.rxjava3.core.Observable;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface GoodBookService {
    @GET("goodbook/catalog")
    Observable<CatalogEntity> getGoodBooks(@Query("key") String apiKey, @Query("dtype") String dtype);
}